package com.china.produce.mapper.study;


import com.china.produce.pojo.SCSkuActivityVO;
import com.china.produce.pojo.node.GroupBuyActivityDiscountEntity;
import com.china.produce.pojo.node.SkuVO;

/**
 * @author Fuzhengwei bugstack.cn @小傅哥
 * @description 活动仓储
 * @create 2024-12-21 10:06
 */
public interface ActivityMapper {

    GroupBuyActivityDiscountEntity queryGroupBuyActivityDiscountVO(Long activityId);

    SkuVO querySkuByGoodsId(String goodsId);

    SCSkuActivityVO querySCSkuActivityBySCGoodsId(String source, String channel, String goodsId);

    boolean isTagCrowdRange(String tagId, String userId);

    boolean downgradeSwitch();

    boolean cutRange(String userId);

}
